<?php
  /**
   * Set your time zone
   */     
  define('TIME_ZONE',"Europe/Paris");
  /**
   *Application name
   */
  define('APP_NAME','Mychoonz');     
  /**
   *Application path. Do not move this file !
   */     
  define('APP_PATH',dirname(__FILE__).'/');
  /**
   *Library path. Where to store classes
   */     
  define('LIB_PATH',APP_PATH.'app/lib/');
  /**
   *data folder. You should not change it.
   */     
  define('DATA_PATH',APP_PATH.'data/');
  /**
   * Application url
   */
   define('APP_URL','http://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']);     
  /**
   * sqlite file path
   */
  define('DB_PATH',DATA_PATH.'.htdb.sqlite');     
  /**
   *Music files folder.
   */     
  define('SND_PATH',DATA_PATH.'snd/');
  //define('SND_PATH','f:/mychoonz/htdocs/data/snd/');
  /**
   *Attached media files folder.
   */     
  define('ATTACH_PATH',DATA_PATH.'attachments/');
  /**
   * home folders
   */
  define('HOME_PATH',DATA_PATH.'home/');
  /**
   *Temp folder
   */
  define('TEMP_PATH',DATA_PATH.'temp/');        
  /**
   *Debug mode. Output various infos for devs. You should not need it.
   */    
  define('APP_DEBUG',true);
  /**
   *Whether to send or not exception to dev's mail
   */     
  define('SEND_EXCEPTION',false);
  /**
   *Dev mail
   */     
  define('DEV_MAIL','desfrenes@gmail.com');
  /**
   *Main Admin mail
   */     
  define('ADMIN_MAIL','desfrenes@gmail.com');
  /**
   * Music database service, either discogs or wikipedia
   */
  define('MUSIC_DB','discogs');
  /**
   * RSS Cache ttl
   */
  define('RSS_TTL',3600);
  /**
   * RSS items limit
   */
  define('RSS_ITEMS',20);
  /**
   *Transcoding (requires lame binary in path).
   *This can be useful in low-bandwidth environments
   *This can be VERY CPU-intensive, especially with multiple users.
   */
  define('USE_TRANSCODE',false);
  /**
   *Transcoding bitrate. If you set this under 96, the sound will speed up
   */
  define('TRANSCODE_RATE',96);
  /**
   *Proxy support
   */
  define('USE_PROXY',false);
  /**
   *Proxy host
   */
  define('PROXY_HOST','proxy.etu.info.unicaen.fr');
  /**
   *Proxy port
   */
  define('PROXY_PORT',3128);
  /**
   *Proxy adress
   */
  define('PROXY_URL','http://'.PROXY_HOST.':'.PROXY_PORT);
  /**
   *Is it a windows box?
   */
  if(strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
  {
    define('OS_IS_WINDOWS', true);
	}
  else
  {
    define('OS_IS_WINDOWS', false);
	}
	/**
	 *Itune podcast compatibility. Requires Apache URL rewriting support.
	 */
 define('ITUNES_FIX',true);
	/**
	 *XML prolog
	 */
 define('XML_PROLOG','<?xml version="1.0" encoding="UTF-8"?>');
?>
